package com.szpx.service.impl;

import com.szpx.entity.ZRZ.baomingXX;
import com.szpx.mapper.baomingXXMapper;
import com.szpx.service.baomingXXService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional //事务处理策略
public class baomingXXServiceImpl implements baomingXXService {

    @Autowired
    private baomingXXMapper baomingXXMapper;


    @Override
    public List<baomingXX> selectAllbaomingXX() {
        return baomingXXMapper.selectAll();
    }
}
